package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.YfqBank;
import com.huaxiafinance.management.model.YfqBankExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YfqBankMapper {
    int countByExample(YfqBankExample example);

    int deleteByExample(YfqBankExample example);

    int deleteByPrimaryKey(String id);

    int insert(YfqBank record);

    int insertSelective(YfqBank record);

    List<YfqBank> selectByExample(YfqBankExample example);

    YfqBank selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") YfqBank record, @Param("example") YfqBankExample example);

    int updateByExample(@Param("record") YfqBank record, @Param("example") YfqBankExample example);

    int updateByPrimaryKeySelective(YfqBank record);

    int updateByPrimaryKey(YfqBank record);
    List<YfqBank> selectListBank();
    YfqBank selectOne(@Param("bankCode")String bankCode);
}